import java.util.Scanner;

/**
 * @author Liu Awen
 * @create 2020-05-14 22:14
 */
//1、温度转换器
//2、C = 5 * ( F - 32 ) / 9
public class Demo1 {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        System.out.print("请输入华氏温度:");
        double F = s.nextDouble();
        double C = 5 * (F - 32) / 9;
        System.out.println("华氏温度" + F +"转换为摄氏温度" + C);
    }
}
